for x in range(1,10):
    for y in range(1,10):
        if y<=x:
            print("{}*{}={:<3}".format(y, x, y*x),end='')
    print()
